package com.pojo;

import java.util.ArrayList;
import java.util.List;

public class JdUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public JdUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andU_numIsNull() {
            addCriterion("u_num is null");
            return (Criteria) this;
        }

        public Criteria andU_numIsNotNull() {
            addCriterion("u_num is not null");
            return (Criteria) this;
        }

        public Criteria andU_numEqualTo(Integer value) {
            addCriterion("u_num =", value, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numNotEqualTo(Integer value) {
            addCriterion("u_num <>", value, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numGreaterThan(Integer value) {
            addCriterion("u_num >", value, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_num >=", value, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numLessThan(Integer value) {
            addCriterion("u_num <", value, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numLessThanOrEqualTo(Integer value) {
            addCriterion("u_num <=", value, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numIn(List<Integer> values) {
            addCriterion("u_num in", values, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numNotIn(List<Integer> values) {
            addCriterion("u_num not in", values, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numBetween(Integer value1, Integer value2) {
            addCriterion("u_num between", value1, value2, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_numNotBetween(Integer value1, Integer value2) {
            addCriterion("u_num not between", value1, value2, "u_num");
            return (Criteria) this;
        }

        public Criteria andU_idIsNull() {
            addCriterion("u_id is null");
            return (Criteria) this;
        }

        public Criteria andU_idIsNotNull() {
            addCriterion("u_id is not null");
            return (Criteria) this;
        }

        public Criteria andU_idEqualTo(String value) {
            addCriterion("u_id =", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idNotEqualTo(String value) {
            addCriterion("u_id <>", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idGreaterThan(String value) {
            addCriterion("u_id >", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idGreaterThanOrEqualTo(String value) {
            addCriterion("u_id >=", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idLessThan(String value) {
            addCriterion("u_id <", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idLessThanOrEqualTo(String value) {
            addCriterion("u_id <=", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idLike(String value) {
            addCriterion("u_id like", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idNotLike(String value) {
            addCriterion("u_id not like", value, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idIn(List<String> values) {
            addCriterion("u_id in", values, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idNotIn(List<String> values) {
            addCriterion("u_id not in", values, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idBetween(String value1, String value2) {
            addCriterion("u_id between", value1, value2, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_idNotBetween(String value1, String value2) {
            addCriterion("u_id not between", value1, value2, "u_id");
            return (Criteria) this;
        }

        public Criteria andU_logInNameIsNull() {
            addCriterion("u_logInName is null");
            return (Criteria) this;
        }

        public Criteria andU_logInNameIsNotNull() {
            addCriterion("u_logInName is not null");
            return (Criteria) this;
        }

        public Criteria andU_logInNameEqualTo(String value) {
            addCriterion("u_logInName =", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameNotEqualTo(String value) {
            addCriterion("u_logInName <>", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameGreaterThan(String value) {
            addCriterion("u_logInName >", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameGreaterThanOrEqualTo(String value) {
            addCriterion("u_logInName >=", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameLessThan(String value) {
            addCriterion("u_logInName <", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameLessThanOrEqualTo(String value) {
            addCriterion("u_logInName <=", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameLike(String value) {
            addCriterion("u_logInName like", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameNotLike(String value) {
            addCriterion("u_logInName not like", value, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameIn(List<String> values) {
            addCriterion("u_logInName in", values, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameNotIn(List<String> values) {
            addCriterion("u_logInName not in", values, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameBetween(String value1, String value2) {
            addCriterion("u_logInName between", value1, value2, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_logInNameNotBetween(String value1, String value2) {
            addCriterion("u_logInName not between", value1, value2, "u_logInName");
            return (Criteria) this;
        }

        public Criteria andU_passWordIsNull() {
            addCriterion("u_passWord is null");
            return (Criteria) this;
        }

        public Criteria andU_passWordIsNotNull() {
            addCriterion("u_passWord is not null");
            return (Criteria) this;
        }

        public Criteria andU_passWordEqualTo(String value) {
            addCriterion("u_passWord =", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordNotEqualTo(String value) {
            addCriterion("u_passWord <>", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordGreaterThan(String value) {
            addCriterion("u_passWord >", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordGreaterThanOrEqualTo(String value) {
            addCriterion("u_passWord >=", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordLessThan(String value) {
            addCriterion("u_passWord <", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordLessThanOrEqualTo(String value) {
            addCriterion("u_passWord <=", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordLike(String value) {
            addCriterion("u_passWord like", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordNotLike(String value) {
            addCriterion("u_passWord not like", value, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordIn(List<String> values) {
            addCriterion("u_passWord in", values, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordNotIn(List<String> values) {
            addCriterion("u_passWord not in", values, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordBetween(String value1, String value2) {
            addCriterion("u_passWord between", value1, value2, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_passWordNotBetween(String value1, String value2) {
            addCriterion("u_passWord not between", value1, value2, "u_passWord");
            return (Criteria) this;
        }

        public Criteria andU_nameIsNull() {
            addCriterion("u_name is null");
            return (Criteria) this;
        }

        public Criteria andU_nameIsNotNull() {
            addCriterion("u_name is not null");
            return (Criteria) this;
        }

        public Criteria andU_nameEqualTo(String value) {
            addCriterion("u_name =", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameNotEqualTo(String value) {
            addCriterion("u_name <>", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameGreaterThan(String value) {
            addCriterion("u_name >", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameGreaterThanOrEqualTo(String value) {
            addCriterion("u_name >=", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameLessThan(String value) {
            addCriterion("u_name <", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameLessThanOrEqualTo(String value) {
            addCriterion("u_name <=", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameLike(String value) {
            addCriterion("u_name like", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameNotLike(String value) {
            addCriterion("u_name not like", value, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameIn(List<String> values) {
            addCriterion("u_name in", values, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameNotIn(List<String> values) {
            addCriterion("u_name not in", values, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameBetween(String value1, String value2) {
            addCriterion("u_name between", value1, value2, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_nameNotBetween(String value1, String value2) {
            addCriterion("u_name not between", value1, value2, "u_name");
            return (Criteria) this;
        }

        public Criteria andU_emailIsNull() {
            addCriterion("u_email is null");
            return (Criteria) this;
        }

        public Criteria andU_emailIsNotNull() {
            addCriterion("u_email is not null");
            return (Criteria) this;
        }

        public Criteria andU_emailEqualTo(String value) {
            addCriterion("u_email =", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailNotEqualTo(String value) {
            addCriterion("u_email <>", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailGreaterThan(String value) {
            addCriterion("u_email >", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailGreaterThanOrEqualTo(String value) {
            addCriterion("u_email >=", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailLessThan(String value) {
            addCriterion("u_email <", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailLessThanOrEqualTo(String value) {
            addCriterion("u_email <=", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailLike(String value) {
            addCriterion("u_email like", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailNotLike(String value) {
            addCriterion("u_email not like", value, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailIn(List<String> values) {
            addCriterion("u_email in", values, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailNotIn(List<String> values) {
            addCriterion("u_email not in", values, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailBetween(String value1, String value2) {
            addCriterion("u_email between", value1, value2, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_emailNotBetween(String value1, String value2) {
            addCriterion("u_email not between", value1, value2, "u_email");
            return (Criteria) this;
        }

        public Criteria andU_phoneIsNull() {
            addCriterion("u_phone is null");
            return (Criteria) this;
        }

        public Criteria andU_phoneIsNotNull() {
            addCriterion("u_phone is not null");
            return (Criteria) this;
        }

        public Criteria andU_phoneEqualTo(String value) {
            addCriterion("u_phone =", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneNotEqualTo(String value) {
            addCriterion("u_phone <>", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneGreaterThan(String value) {
            addCriterion("u_phone >", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneGreaterThanOrEqualTo(String value) {
            addCriterion("u_phone >=", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneLessThan(String value) {
            addCriterion("u_phone <", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneLessThanOrEqualTo(String value) {
            addCriterion("u_phone <=", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneLike(String value) {
            addCriterion("u_phone like", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneNotLike(String value) {
            addCriterion("u_phone not like", value, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneIn(List<String> values) {
            addCriterion("u_phone in", values, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneNotIn(List<String> values) {
            addCriterion("u_phone not in", values, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneBetween(String value1, String value2) {
            addCriterion("u_phone between", value1, value2, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_phoneNotBetween(String value1, String value2) {
            addCriterion("u_phone not between", value1, value2, "u_phone");
            return (Criteria) this;
        }

        public Criteria andU_stateIsNull() {
            addCriterion("u_state is null");
            return (Criteria) this;
        }

        public Criteria andU_stateIsNotNull() {
            addCriterion("u_state is not null");
            return (Criteria) this;
        }

        public Criteria andU_stateEqualTo(Integer value) {
            addCriterion("u_state =", value, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateNotEqualTo(Integer value) {
            addCriterion("u_state <>", value, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateGreaterThan(Integer value) {
            addCriterion("u_state >", value, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateGreaterThanOrEqualTo(Integer value) {
            addCriterion("u_state >=", value, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateLessThan(Integer value) {
            addCriterion("u_state <", value, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateLessThanOrEqualTo(Integer value) {
            addCriterion("u_state <=", value, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateIn(List<Integer> values) {
            addCriterion("u_state in", values, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateNotIn(List<Integer> values) {
            addCriterion("u_state not in", values, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateBetween(Integer value1, Integer value2) {
            addCriterion("u_state between", value1, value2, "u_state");
            return (Criteria) this;
        }

        public Criteria andU_stateNotBetween(Integer value1, Integer value2) {
            addCriterion("u_state not between", value1, value2, "u_state");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}